Function: toFetch(StringURL) Description: Converts a string URL plus ID reference into a valid Fetch API data object. Returns: Object. Note: The toFetch() function only returns the converted object, which is meant to then be passed into a DC object declaration. Example: // Convert a string URL into a Fetch data object. var myFetch = $A.toFetch("path/file.htm#uniqueIdOfContentToFetch"); // Returns the following data object: { url: "path/file.htm", data: { selector: "#uniqueIdOfContentToFetch" } } // Which can then be used to dynamically pull the referenced external content into a DC object. var DC = $A.toDC({ fetch: myFetch, root: "#idOfContainerToInsertImportedContentWithin" }); DC.render();